<script src="<?=$this->baseUrl?>/js/prototype/prototype.js"
	type="text/javascript"></script>
<script src="<?=$this->baseUrl?>/js/prototype/effects.js"
	type="text/javascript"></script>
<script src="<?=$this->baseUrl?>/js/prototype/validation.js"
	type="text/javascript"></script>

<body style="text-align:center;" onload="document.forms.loginForm.username.focus();">

<div>
<form id="loginForm" action="" method="post">
<div id="messages"><?= $this->message ? $this->message : null ?></div>
<div>
	<label for="username"><?= $this->languages->_('username:') ?></label><br />
	<input type="text" id="username" name="login[username]"	value="<?= $this->username ? $this->username:null ?>" class="required-entry input-text" />
</div>
<div>
	<label for="login"><?= $this->languages->_('password:') ?></label><br />
	<input type="password" id="login" name="login[password]" class="required-entry input-text" value="" />
</div>
<input onclick="loginForm.submit()" type="submit" value="<?= $this->languages->_('login') ?>" />
</form>
</div>
<script type="text/javascript">
     var loginForm = new Validation('loginForm');
</script>
</body>